.PHONY:all
all: parser search_server http_server

parser: parser.cpp
	g++ -o $@ $^ -std=c++11 -lboost_system -lboost_filesystem

search_server: search_server.cpp
	g++ -o $@ $^ -std=c++11 -ljsoncpp

http_server:http_server.cpp
	g++ -o $@ $^ -std=c++11 -ljsoncpp

.PHONY:clean
clean:
	rm -rf parser search_server http_server